home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
C64
/
E-Education
/
(c)ed32.d64
/
unit a-5
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2007-02-04
|
4KB
|
122 lines
200 PRINT"[147][159]";:POKE53272,21:POKE53280,0:POKE53281,0
201 PRINT" WHC ENTERPRISES ":GOSUB591
202 PRINT" [146]";
203 PRINT" [146]";
204 PRINT" [146]";
205 PRINT" ENGLISH EXERCISE - A [146]";
206 PRINT" [146]";
207 PRINT" UNIT A-5 [146]";
208 PRINT" [146]";
209 PRINT"[159] [146]";
210 PRINT" [146]"
211 GOSUB235
214 PRINT"[147] AND AWAY WE GO........":GOSUB591:GOSUB500:GOSUB590
215 GOTO1000
235 GOSUB591:GOSUB560
236 PRINT"[154] PRESS SPACE BAR TO CONTINUE [146][155]"
237 GETUI$:IFUI$<>CHR$(32)THEN237
238 RETURN
250 REM PAGE DESIGN ROUTINE
252 UP=UP+1
255 PRINT"[147]"LEFT$(UT$+UP$,21);RIGHT$(UP$+UG$+STR$(UP),18)
260 PRINT" --------------------------------------"
264 REM IFUH<>0THEN870
265 PRINTLEFT$(UD$,24);LEFT$(UP$,7);"ANSWER, THEN PRESS RETURN"
299 :
500 REM <YES>
505 SS=54272:FOREE=SSTOSS+28:POKEEE,0:NEXT
510 POKE54296,15:POKE54277,42:POKE54278,250
515 POKE54276,23:POKE54273,23:POKE54272,191
520 FORTM=1TO150:NEXT:POKE54276,32:FORTM=1TO200:NEXT
525 POKE54296,0:RETURN
530 REM <NO>
535 SS=54272:FOREE=SSTOSS+28:POKEEE,0:NEXT
540 POKE54296,15:POKE54277,18:POKE54278,242
545 POKE54276,33:POKE54273,4:POKE54272,48
550 FORTM=1TO300:NEXT:POKE54276,32:FORTM=1TO400:NEXT
555 POKE54296,0:RETURN
560 REM <BLIP>
565 SS=54272:FOREE=SSTOSS+28:POKEEE,0:NEXT
570 POKE54296,7:POKE54277,42:POKE54278,250
575 POKE54276,23:POKE54273,23:POKE54272,191
580 FORTM=1TO30:NEXT:POKE54276,32:FORTM=1TO50:NEXT
585 POKE54296,0:RETURN
590 FORTM=1TO500:NEXT:RETURN
591 FORTM=1TO1000:NEXT:RETURN
592 FORTM=1TO2000:NEXT:RETURN
593 FORTM=1TO3000:NEXT:RETURN
999 :
1000 PRINT"[147]";:RESTORE:POKE53281,0:POKE53280,0
1045 UP= 1
1050 P=UM:C=8:H=0
1830 FORJ=1TOC
1840 READQ$(J),A$(J)
1845 PRINT"[152][147] UNIT A-5 ATTEMPTS MADE: ";H;"[155]"
1850 GOSUB591:PRINT"[153] ";Q$(J)
1860 GOSUB2300:GOSUB560
1870 INPUT"[158] >>> ";SA$
1880 IFSA$=A$(J)GOTO1950
1885 IFZ=2THENGOSUB3000:H=H+1:GOTO1990
1890 Z=Z+1
1895 PRINT"[147][150] SORRY.":GOSUB590
1900 PRINT" YOUR ANSWER IS NOT CORRECT.":H=H+1:GOSUB530:GOSUB591
1910 PRINT"[153] TRY AGAIN.[155]"
1930 GOSUB592
1940 GOTO1845
1950 REM YES RESPONSE
1960 H=H+1:PRINT""SPC(20)" CORRECT! ":GOSUB591
1970 PRINTSPC(20)" VERY GOOD [155]"
1980 GOSUB500:GOSUB592:
1990 NEXTJ
1999 :
2000 PRINT"[147][159]YOU HAVE NOW FINISHED UNIT A-5.":GOSUB591:GOSUB560
2005 PRINT"YOU HAVE ANSWERED ";C;" QUESTIONS"
2010 PRINT" IN ";H;" ATTEMPTS."
2020 IFH<9THENPRINT"[158] EXCELLENT! [146]":GOTO2050
2030 IFH<10THENPRINT"[159] GOOD WORK! [146]":GOTO2050
2040 PRINT"[150] TRY HARDER! REPEAT THIS UNIT. [146]"
2050 PRINT"":GOSUB235
2055 PRINT"[153][147][217]OU HAVE A CHOICE:
2060 [153]"PRESS R WAIT TO REPEAT UNIT A-5
2065 PRINT"PRESS M [146] TO GO TO THE DISK MENU
2070 [161]R$:[139]R$[179][177]"R"[175]R$[179][177]"M"[167]2070
2075 [139]R$[178]"R"[167] [140]:[137]200
2077 [137]2200
2080 [153]"LOAD RETURNING TO THE DISK MENU
2085 LOAD"MENU",8
2090 RUN
2095 END
2099 :
2100 REM
2110 DATAHE ATTENDED THE SCHOOL'S GRADUATION ----.,CEREMONY
2115 DATATHE SUN SET ON THE WESTERN ----.,HORIZON
2120 DATAIF YOU WANT TO ---- YOU MUST WORK HARD.,PROSPER
2125 DATATHE NEXT ---- WON'T BE STUPID ENOUGH TO SMOKE.,GENERATION
2130 DATATO WHAT ---- WAS THE HOUSE DAMAGED BY FIRE?,EXTENT
2135 DATATHE ROCKET SHIP WENT INTO ---- AROUND THE MOON.,ORBIT
2140 DATAHIS ----- WORE A BLACK CAPE.,COMPANION
2145 DATATHEY WORKED IN THE NORTHERN ---- OF THE CITY.,REGION
2199 :
2200 PRINT"[147] HERE ARE THE WORDS IN UNIT A-5:[155]":GOSUB560:GOSUB593
2210 PRINT"[159][147]1. HE ATTENDED THE SCHOOL'S GRADUATION [158]CEREMONY[155]
2220 [153]"2. THE SUN SET ON THE WESTERN SYSHORIZONLIST
2230 PRINT"3. IF YOU WANT TO [158]PROSPER[155] YOU MUST WORK HARD.
2240 [153]"4. THE NEXT SYSGENERATIONLIST WON'T BE STUPID ENOUGH TO SMOKE.
2250 PRINT"5. TO WHAT [158]EXTENT[155] WAS THE HOUSE DAMAGED BY FIRE?
2260 [153]"6. THE ROCKET SHIP WENT INTO SYSORBITLIST AROUND THE MOON.
2270 PRINT"7. HIS [158]COMPANION[155] WORE A BACK CAPE.
2280 [153]"8. THEY WORKED IN THE NORTHEN SYSREGIONLIST. OF THE CITY.
2290 GOSUB235:GOTO20055
2299 :
2300 PRINT"[154] [195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195]"
2310 PRINT" CHOOSE YOUR ANSWER FROM THE FOLLOWING:[153]"
2320 PRINTSPC(12)" EXTENT ":PRINTSPC(12)" COMPANION "
2330 PRINTSPC(12)" CEREMONY ":PRINTSPC(12)" ORBIT "
2340 PRINTSPC(12)" HORIZON ":PRINTSPC(12)" REGION "
2350 PRINTSPC(12)" GENERATION":PRINTSPC(12)" PROSPER ":RETURN
3000 PRINT"[147]":GOSUB591
3010 Z=0:PRINT"[158]I WILL SHOW YOU THE CORRECT ANSWER
3020 [153]"AT THE END OF THIS UNIT.":[141]530:[141]592
3030 [153]"DEFNOW ... LET'S MOVE ON TO THE NEXT ONE.":[141]235:[142]
3500 [143] WHC 92:05:22